//
//  HMOptinalView.h
//  美团
//
//  Created by Shenzhen_iOS_07 on 16/10/10.
//  Copyright © 2016年 Shenzhen_iOS_07. All rights reserved.
//

@class HMOptinalView;

@protocol HMOptinalViewDelegate <NSObject>

@optional
- (void)optionalView:(HMOptinalView *)view didSelectedIndex:(NSUInteger)index;

@end

@interface HMOptinalView : UIView

/* 代理对象 */
@property (weak, nonatomic) id<HMOptinalViewDelegate> delegate;

/**
 * 指定当前选择的按钮
 */
- (void)selectIndex:(NSUInteger)index;

@end
